package com.camera2.http;

import android.os.Environment;

public class GlobalUrl {
    private static String SavePath = Environment.getExternalStorageDirectory() + "/xiaomuyi.apk";
        private static String baseUrl = "http://10.129.50.212:5018/api";
    private static String mediaUrl = "http://10.129.50.212:8080/";
//    private static String baseUrl = "http://61.134.99.10:5018/api";
//    private static String mediaUrl = "http://61.134.99.10:8020/";
    private static String loginUrl = baseUrl + "/api/login";
    private static String registerUrl = baseUrl + "/api/register";
    private static String updatepasswordUrl = baseUrl + "/api/updatePassword";

    private static String expertUrl = baseUrl + "/api/expert/list";
    private static String messageUrl = baseUrl + "/api/message/UploadVoice";

    private static String injuryUrl = baseUrl + "/api/detail/list";
    private static String injuryUpdateUrl = baseUrl + "/api/detail/update";
    private static String expertMessageUrl = baseUrl + "/api/message/list";
    private static String messageUpdateUrl = baseUrl + "/api/message/update";
    private static String saveExpertUrl = baseUrl + "/api/expert/save";
    private static String expertInfoUrl=baseUrl+"/api/expert/info/";
    private static String updateExpertUrl=baseUrl+"/api/expert/update";

    private static String updateUrl = "http://61.134.99.10:8020/update/update.aspx";
    private static String UploadFileUrl = baseUrl + "/api/detail/UploadFile";//UploadFile

    public static String getLoginUrl() {
        return loginUrl;
    }

    public static String getRegisterUrl() {
        return registerUrl;
    }

    public static String getUpdatepasswordUrl() {
        return updatepasswordUrl;
    }

    public static String getUploadFileUrl() {
        return UploadFileUrl;
    }

    public static String getUpdateUrl() {
        return updateUrl;
    }

    public static String getSavePath() {
        return SavePath;
    }

    public static String getExpertUrl() {
        return expertUrl;
    }

    public static String getMessageUrl() {
        return messageUrl;
    }

    public static String getInjuryUrl() {
        return injuryUrl;
    }

    public static String getInjuryUpdateUrl() {
        return injuryUpdateUrl;
    }

    public static String getExpertMessageUrl() {
        return expertMessageUrl;
    }

    public static String getMessageUpdateUrl() {
        return messageUpdateUrl;
    }

    public static String getMediaUrl() {
        return mediaUrl;
    }

    public static String getSaveExpertUrl() {
        return saveExpertUrl;
    }

    public static String getExpertInfoUrl() {
        return expertInfoUrl;
    }

    public static String getUpdateExpertUrl() {
        return updateExpertUrl;
    }
}
